package com.nars.serialization;

public class PetDemo {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Pet pet = new Pet();
		pet.name = "Johny";
		
		Pet pet2 = pet.deserializePet("petSerialization.txt");
		System.out.println(pet2.name);
		//pet.serializePet(pet, "petSerialization.txt");

	}

}
